from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

from message.views import *

urlpatterns = patterns('',

    (r'view/(?P<message_id>\d+)/?$', viewMessage),
    (r'new/?$', newMessage),
    (r'reply/(?P<message_id>\d+)/?$', replyMessage),
    (r'delete/?$', deleteMessage),
    (r'renew/(?P<message_id>\d+)/?$', renewMessage),
    (r'$', listMessage),

)
